package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.List;

public class ParticipationrecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public ParticipationrecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPprnoIsNull() {
            addCriterion("pprno is null");
            return (Criteria) this;
        }

        public Criteria andPprnoIsNotNull() {
            addCriterion("pprno is not null");
            return (Criteria) this;
        }

        public Criteria andPprnoEqualTo(String value) {
            addCriterion("pprno =", value, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoNotEqualTo(String value) {
            addCriterion("pprno <>", value, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoGreaterThan(String value) {
            addCriterion("pprno >", value, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoGreaterThanOrEqualTo(String value) {
            addCriterion("pprno >=", value, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoLessThan(String value) {
            addCriterion("pprno <", value, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoLessThanOrEqualTo(String value) {
            addCriterion("pprno <=", value, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoLike(String value) {
            addCriterion("pprno like", value, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoNotLike(String value) {
            addCriterion("pprno not like", value, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoIn(List<String> values) {
            addCriterion("pprno in", values, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoNotIn(List<String> values) {
            addCriterion("pprno not in", values, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoBetween(String value1, String value2) {
            addCriterion("pprno between", value1, value2, "pprno");
            return (Criteria) this;
        }

        public Criteria andPprnoNotBetween(String value1, String value2) {
            addCriterion("pprno not between", value1, value2, "pprno");
            return (Criteria) this;
        }

        public Criteria andPnoIsNull() {
            addCriterion("pno is null");
            return (Criteria) this;
        }

        public Criteria andPnoIsNotNull() {
            addCriterion("pno is not null");
            return (Criteria) this;
        }

        public Criteria andPnoEqualTo(String value) {
            addCriterion("pno =", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotEqualTo(String value) {
            addCriterion("pno <>", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoGreaterThan(String value) {
            addCriterion("pno >", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoGreaterThanOrEqualTo(String value) {
            addCriterion("pno >=", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLessThan(String value) {
            addCriterion("pno <", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLessThanOrEqualTo(String value) {
            addCriterion("pno <=", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLike(String value) {
            addCriterion("pno like", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotLike(String value) {
            addCriterion("pno not like", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoIn(List<String> values) {
            addCriterion("pno in", values, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotIn(List<String> values) {
            addCriterion("pno not in", values, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoBetween(String value1, String value2) {
            addCriterion("pno between", value1, value2, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotBetween(String value1, String value2) {
            addCriterion("pno not between", value1, value2, "pno");
            return (Criteria) this;
        }

        public Criteria andArnoIsNull() {
            addCriterion("arno is null");
            return (Criteria) this;
        }

        public Criteria andArnoIsNotNull() {
            addCriterion("arno is not null");
            return (Criteria) this;
        }

        public Criteria andArnoEqualTo(String value) {
            addCriterion("arno =", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoNotEqualTo(String value) {
            addCriterion("arno <>", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoGreaterThan(String value) {
            addCriterion("arno >", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoGreaterThanOrEqualTo(String value) {
            addCriterion("arno >=", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoLessThan(String value) {
            addCriterion("arno <", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoLessThanOrEqualTo(String value) {
            addCriterion("arno <=", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoLike(String value) {
            addCriterion("arno like", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoNotLike(String value) {
            addCriterion("arno not like", value, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoIn(List<String> values) {
            addCriterion("arno in", values, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoNotIn(List<String> values) {
            addCriterion("arno not in", values, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoBetween(String value1, String value2) {
            addCriterion("arno between", value1, value2, "arno");
            return (Criteria) this;
        }

        public Criteria andArnoNotBetween(String value1, String value2) {
            addCriterion("arno not between", value1, value2, "arno");
            return (Criteria) this;
        }

        public Criteria andPprnumberIsNull() {
            addCriterion("pprNumber is null");
            return (Criteria) this;
        }

        public Criteria andPprnumberIsNotNull() {
            addCriterion("pprNumber is not null");
            return (Criteria) this;
        }

        public Criteria andPprnumberEqualTo(String value) {
            addCriterion("pprNumber =", value, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberNotEqualTo(String value) {
            addCriterion("pprNumber <>", value, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberGreaterThan(String value) {
            addCriterion("pprNumber >", value, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberGreaterThanOrEqualTo(String value) {
            addCriterion("pprNumber >=", value, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberLessThan(String value) {
            addCriterion("pprNumber <", value, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberLessThanOrEqualTo(String value) {
            addCriterion("pprNumber <=", value, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberLike(String value) {
            addCriterion("pprNumber like", value, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberNotLike(String value) {
            addCriterion("pprNumber not like", value, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberIn(List<String> values) {
            addCriterion("pprNumber in", values, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberNotIn(List<String> values) {
            addCriterion("pprNumber not in", values, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberBetween(String value1, String value2) {
            addCriterion("pprNumber between", value1, value2, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprnumberNotBetween(String value1, String value2) {
            addCriterion("pprNumber not between", value1, value2, "pprnumber");
            return (Criteria) this;
        }

        public Criteria andPprdescribeIsNull() {
            addCriterion("pprDescribe is null");
            return (Criteria) this;
        }

        public Criteria andPprdescribeIsNotNull() {
            addCriterion("pprDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andPprdescribeEqualTo(String value) {
            addCriterion("pprDescribe =", value, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeNotEqualTo(String value) {
            addCriterion("pprDescribe <>", value, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeGreaterThan(String value) {
            addCriterion("pprDescribe >", value, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeGreaterThanOrEqualTo(String value) {
            addCriterion("pprDescribe >=", value, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeLessThan(String value) {
            addCriterion("pprDescribe <", value, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeLessThanOrEqualTo(String value) {
            addCriterion("pprDescribe <=", value, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeLike(String value) {
            addCriterion("pprDescribe like", value, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeNotLike(String value) {
            addCriterion("pprDescribe not like", value, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeIn(List<String> values) {
            addCriterion("pprDescribe in", values, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeNotIn(List<String> values) {
            addCriterion("pprDescribe not in", values, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeBetween(String value1, String value2) {
            addCriterion("pprDescribe between", value1, value2, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdescribeNotBetween(String value1, String value2) {
            addCriterion("pprDescribe not between", value1, value2, "pprdescribe");
            return (Criteria) this;
        }

        public Criteria andPprdateIsNull() {
            addCriterion("pprDate is null");
            return (Criteria) this;
        }

        public Criteria andPprdateIsNotNull() {
            addCriterion("pprDate is not null");
            return (Criteria) this;
        }

        public Criteria andPprdateEqualTo(String value) {
            addCriterion("pprDate =", value, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateNotEqualTo(String value) {
            addCriterion("pprDate <>", value, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateGreaterThan(String value) {
            addCriterion("pprDate >", value, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateGreaterThanOrEqualTo(String value) {
            addCriterion("pprDate >=", value, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateLessThan(String value) {
            addCriterion("pprDate <", value, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateLessThanOrEqualTo(String value) {
            addCriterion("pprDate <=", value, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateLike(String value) {
            addCriterion("pprDate like", value, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateNotLike(String value) {
            addCriterion("pprDate not like", value, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateIn(List<String> values) {
            addCriterion("pprDate in", values, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateNotIn(List<String> values) {
            addCriterion("pprDate not in", values, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateBetween(String value1, String value2) {
            addCriterion("pprDate between", value1, value2, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprdateNotBetween(String value1, String value2) {
            addCriterion("pprDate not between", value1, value2, "pprdate");
            return (Criteria) this;
        }

        public Criteria andPprstateIsNull() {
            addCriterion("pprState is null");
            return (Criteria) this;
        }

        public Criteria andPprstateIsNotNull() {
            addCriterion("pprState is not null");
            return (Criteria) this;
        }

        public Criteria andPprstateEqualTo(Integer value) {
            addCriterion("pprState =", value, "pprstate");
            return (Criteria) this;
        }

        public Criteria andPprstateNotEqualTo(Integer value) {
            addCriterion("pprState <>", value, "pprstate");
            return (Criteria) this;
        }

        public Criteria andPprstateGreaterThan(Integer value) {
            addCriterion("pprState >", value, "pprstate");
            return (Criteria) this;
        }

        public Criteria andPprstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("pprState >=", value, "pprstate");
            return (Criteria) this;
        }

        public Criteria andPprstateLessThan(Integer value) {
            addCriterion("pprState <", value, "pprstate");
            return (Criteria) this;
        }

        public Criteria andPprstateLessThanOrEqualTo(Integer value) {
            addCriterion("pprState <=", value, "pprstate");
            return (Criteria) this;
        }

        public Criteria andPprstateIn(List<Integer> values) {
            addCriterion("pprState in", values, "pprstate");
            return (Criteria) this;
        }

        public Criteria andPprstateNotIn(List<Integer> values) {
            addCriterion("pprState not in", values, "pprstate");
            return (Criteria) this;
        }

        public Criteria andPprstateBetween(Integer value1, Integer value2) {
            addCriterion("pprState between", value1, value2, "pprstate");
            return (Criteria) this;
        }

        public Criteria andPprstateNotBetween(Integer value1, Integer value2) {
            addCriterion("pprState not between", value1, value2, "pprstate");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}